package com.xmy.cultivate.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 节假日
 * </p>
 *
 * @author hpiggy
 * @since 2023-08-23
 */
@ApiModel(value = "Holiday对象", description = "节假日")
@Data
public class Holiday implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("节假日名称")
    private String name;

    private LocalDate startDate;

    private LocalDate endDate;

    private Integer status;

    private Integer yearPart;

    private Integer type;

    private LocalDateTime createdAt;
}
